<template>
	<view class="list">
		<view class="item" v-for="(item,index) in 10">
			<view class="left">
				<view class="name">
					支付宝提现
					<text v-if="index==0" class="doing tags">提现中：24小时内到账</text>
					<text v-else-if="index==1" class="tags error">提现失败：支付宝账号错误</text>
					<text v-else class="tags suc">提现成功</text>
				</view>
				<view class="time">
					2023.05.18 12:00:00
				</view>
			</view>
			<view class="money">
				
				<text v-if="index==0" style="color: #00BCC8;">+ 10.00</text>
				<text  v-else-if="index==1" style="color: #BEBEBE;">+ 10.00</text>
				<text v-else style="color: #35AC6C;">+ 10.00</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		}
	}
</script>

<style scoped lang="scss">
	.list{
		margin: 0 32rpx;
		background: #fff;
		border-radius: 15rpx;
		.tags{
			font-size: 20rpx;
			font-family: PingFang SC-Regular, PingFang SC;
			font-weight: 400;
			color: #00BCC8;
			line-height: 23rpx;
		
			border-radius: 7rpx 7rpx 7rpx 7rpx;
			opacity: 1;
		
			margin-left: 16rpx;
			padding: 0 12rpx;
			&.error{
					border: 1rpx solid #43C3EC;
						background: #DFF7FF;
			}
			&.doing{
				color: #FF2424;
				background: #FFDFDD;
			
				border: 1rpx solid #FFA8A8;
			}
			&.suc{
				color: #3757FF;
				background: #DDE7FF;
				
				border: 1rpx solid #B5C1FF;
			}
		}
		.item{
			padding: 32rpx 40rpx 18rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			border-bottom: 1rpx solid #E0E0E0;
			&:last-child{
				border-bottom: none;
			}
			.left{
				.name{
					font-size: 27rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
					color: #333333;
					line-height: 32rpx;
				}
				.time{
					font-size: 24rpx;
					font-family: PingFang SC-Light, PingFang SC;
					font-weight: 300;
					color: #666666;
					line-height: 28rpx;
					margin-top: 5rpx;
				}
			}
			.money{
				font-size: 32rpx;
				font-family: PingFang SC-Regular, PingFang SC;
				font-weight: 400;
				color: #35AC6C;
				line-height: 38rpx;
			}
		}
	}
</style>